<h1>Listing positions</h1>

<table>
  <tr>
    <th>Woeid</th>
    <th>City</th>
    <th>Lat</th>
    <th>Long</th>
  </tr>

<% @positions.each do |position| %>
  <tr>
    <td><%=h position.woeid %></td>
    <td><%=h position.city %></td>
    <td><%=h position.lat %></td>
    <td><%=h position.long %></td>
    <td><%= link_to 'Show', position %></td>
    <td><%= link_to 'Edit', edit_position_path(position) %></td>
    <td><%= link_to 'Destroy', position, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>
<hr/>
<%= will_paginate @positions %>
<br />

<%= link_to 'New position', new_position_path %>